package com.project.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration//申明该类为配置类
@ComponentScan("com.project")//扫描指定包及其子包中所有的Spring组件
@EnableAspectJAutoProxy//配置自动代理
public class SpringConfig {

}
